package com.guigu.community.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.guigu.community.pojo.Quote;
import com.guigu.community.vo.QuoteVo;
import java.util.List;

public interface QuoteService extends IService<Quote> {
    List<Quote> getQuotesBySupplierId(Integer supplierId);
    List<Quote> selectByVo(QuoteVo vo);

    //根据Vo分页查询 和 用户Id查询
    PageInfo<Quote> queryQuoteUserProductInfo(Integer pageNo,Integer pageSize,QuoteVo vo);

    // 根据商品 ID 查询报价信息
    List<Quote> getQuotesByProductId(Integer productId);
}